package com.four.marketing.dao;

import com.four.marketing.entity.Allocation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 侯新伟
 * @since 2021-12-14
 */
public interface AllocationDao extends BaseMapper<Allocation> {

    List <Allocation> allocationList(@Param("seName") String seName, @Param("allStatus") String allStatus);

    void allocationDelete(@Param("id") Integer id);

    void allocationAdd(Allocation allocation);

    void allocationUpdate(Allocation allocation);
}
